package com.crk.shixiguanli.service;

import com.crk.shixiguanli.entity.Plan;
import com.crk.shixiguanli.util.Page;
import com.crk.shixiguanli.util.ResponseResult;

/**
 * Description:
 *
 * @author:
 * Date: 2020-04-26
 * Time: 17:40
 */
public interface PlanService {
    /**
     * 分页查询
     * @param page
     * @return
     */
    public ResponseResult queryPage(Page page);


    /**
     * 分页查询
     * @param page
     * @return
     */
    public ResponseResult queryStudentDetail(String planName,String studentName,Page page);

    /**
     * 查询学生完成情况
     * @param studentId
     * @return
     */
    public ResponseResult queryStudentComplete(Integer studentId);

    /**
     * 查询所有
     * @return
     */
    public ResponseResult queryAll();

    /**
     * 查询单个
     * @param id
     * @return
     */
    public ResponseResult getOne(Integer id);


    public ResponseResult getStudentComplete(Integer id);


    public ResponseResult getMyPlan();

    /**
     * 加入计划
     * @param id
     * @return
     */
    public ResponseResult joinPlan(Integer id);





    /**
     * 查询单个
     * @param id
     * @return
     */
    public ResponseResult getOneShow(Integer id);

    /**
     * 保存数据
     * @param plan
     * @return
     */
    public ResponseResult save(Plan plan);

    /**
     * 删除
     * @param id
     * @return
     */
    public ResponseResult delete(Integer id);

    /**
     * 查询计划列表-学生页面
     * @return
     */
    public ResponseResult queryPlanList();


    public ResponseResult evaluate(int id,String evaluate,String score);

    /**
     * 统计数量
     * @return
     */
    public ResponseResult getCount();


    public ResponseResult getStudentProfessionalMap();


    public ResponseResult getStudentPlanMap();

    public ResponseResult getStudentJobMap();
}
